Skip to main content
Version: 5.2

Holiday Service

CountryDto

This class contains the definition of a country.

DatatypeNameDescription
GuidIdUnique ID of the country
StringNameName of the country, e.g. Deutschland
RegionDto[]RegionsList of Regions that belongs to the country (e.g. Hessen)

RegionDto

This class contains information about a region (for example, Hessen) and is embedded in a CountryDTO object.

DatatypeNameDescription
GuidIdUnique ID of Region
StringNameName of the Region

PublicHolidayDto

This class contains information about a public holiday.

DatatypeNameDescription
GuidCountryIdUnique ID of the Country
StringCountryName of the country
Guid?RegionIdUnique ID of the Region
StringRegionName of the region
StringNameName of the public holiday
Int?ValidSinceYearYear since the holiday is valid
Int?ValidUntilYearYear until the holiday is valid
BoolIsHalfDayTrue, if it’s only a half day holiday
PublicHolidayTypePublicHolidayTypeType of the public holiday
DateTimeDateDate of the public holiday
BoolReverseTrue, indicates that the numbered holiday will be reversed.
IntNumberNumber that is used for counting when used in numbered holidays
DayOfWeekWeekdayWeekday of the public holiday
PublicHolidayDtoReferencedHolidayReferenced holiday if the current holiday is dependend on it
stringValidationInformationGets a string that defines when the holiday is valid